<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String basePath = request.getScheme() + "://" + request.getServerName()
			+ ":" + request.getServerPort() + request.getContextPath();
%>
<jsp:include page="/WEB-INF/page/auth/_header.jsp"></jsp:include>
<body>
	<jsp:include page="/WEB-INF/page/auth/header.jsp"></jsp:include>
	<div id="middle">
		<jsp:include page="/WEB-INF/page/auth/menu.jsp"></jsp:include>
		<div id="right">
			<div id="sign_up_studenttb">
		        <form id="sign_up_studentForm" class="m10">
		           	 报名时间：<input name="startDate" class="easyui-datebox" data-options="width:120" />-<input name="endDate" class="easyui-datebox" data-options="width:120" />
		                              学生类型<select class="form-control1" name="signUpType">
		            	<option value="">请选择</option>
		            	<option value="newStudent">新生报名</option>
		            	<option value="middleStudent">插班生表名</option>
		            	<option value="internatStudent">国际班报名</option>
		            </select>
		            <a class="easyui-linkbutton l-btn l-btn-small" data-options="iconCls:'icon-search'" onclick="searchForm('sign_up_student')">查询</a>
		            <a class="easyui-linkbutton l-btn l-btn-small" data-options="iconCls:'icon-clear'" onclick="resetForm('sign_up_student')">重置</a>
		            <a class="easyui-linkbutton" href="javascript:void(0)" data-options="iconCls:'icon-save'" onclick="outExcel('sign_up_student','<%=basePath%>/sys/signup/student')">导出为EXCEL</a>
		        </form>
		    </div>
		    <table id="sign_up_studentdg">
		        <thead>
		            <tr>
		                <th data-options="field:'studentName',title:'学生姓名'"></th>
						<th data-options="field:'studentSex',title:'学生性别'"></th>
						<th data-options="field:'studentHeight',title:'身高(厘米)'"></th>
						<th data-options="field:'studentBirthday',title:'生日'"></th>
						<th data-options="field:'studentIdType',title:'证件类型'"></th>
						<th data-options="field:'studentIdNo',title:'证件号'"></th>
						<th data-options="field:'signGrade',title:'报读年级'"></th>
						<th data-options="field:'baseSchool',title:'原就读学校'"></th>
						<th data-options="field:'familyAddr',title:'家庭详细住址'"></th>
						<th data-options="field:'houseAddr',title:'户籍详细住址'"></th>
						<th data-options="field:'houseType',title:'户口性质'"></th>
						<th data-options="field:'nation',title:'民族'"></th>
						<th data-options="field:'healthy',title:'健康状况'"></th>
						<th data-options="field:'fatherName',title:'爸爸姓名'"></th>
						<th data-options="field:'fatherPhone',title:'爸爸电话'"></th>
						<th data-options="field:'fatherCompany',title:'爸爸单位'"></th>
						<th data-options="field:'motherName',title:'妈妈姓名'"></th>
						<th data-options="field:'motherPhone',title:'妈妈电话'"></th>
						<th data-options="field:'motherCompany',title:'妈妈单位'"></th>
						<th data-options="field:'recommender',title:'推荐人'"></th>
						<th data-options="field:'relatives',title:'是否有哥哥或姐姐就读'"></th>
						<th data-options="field:'awards',title:'获奖荣誉'"></th>
						<th data-options="field:'hobby',title:'兴趣爱好'"></th>
						<th data-options="field:'signUpTime',title:'报名时间',formatter:function(value,row,index){
							return getTime(value,'yyyy-MM-dd hh:mm:ss');
						}"></th>
		            </tr>
		        </thead>
		    </table>
		</div>
	</div>
	<jsp:include page="/WEB-INF/page/auth/_footer.jsp"/>
	<script type="text/javascript">
		var url = basePath + "/sys/signup/student";
		$(function(){
			initDatagrid('sign_up_student',url);
		})
		
    </script>
</body>
</html>